﻿using System;

namespace MyFloridaHouse.libSvOpenDistricts.Districts
{
    public class DistrictPlanFileLoadedEventArgs
    {
        public enumDistrictPlanLoadType loadType;
    }

    // This event notifies that a new district plan has been read from a file, and that all initializations are complete
    public delegate void DistrictPlanFileLoadedHandler(object sender, DistrictPlanFileLoadedEventArgs e);
    public partial class DistrictPlan
    {
        public static event DistrictPlanFileLoadedHandler DistrictPlanFileLoaded;
        public static void RaiseDistrictPlanFileLoaded(object sender)
        {
            if (DistrictPlanFileLoaded != null) { DistrictPlanFileLoaded(sender, new DistrictPlanFileLoadedEventArgs()); }
        }
    }

}


